package com.duotai.duotai1;

public class Dog extends Animal{

    public void eat(){
        System.out.println("狗吃骨头");
    }

    @Override
    public void learn() {
        System.out.println("学习如何不生气");
    }

    public void play(){
        System.out.println("玩球");
    }

    public void lookDoor(){
        System.out.println("看门");
    }
}
